package com.framework.util;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

public class ServiciosRolesUtil {
	
	@Retention(RetentionPolicy.RUNTIME)
	@Target(ElementType.FIELD)
	public @interface RelacionVia_ingresoRoles {
		String codigo_rol();
		String[] vias_ingreso();
	}
	
	@RelacionVia_ingresoRoles(codigo_rol = "11", vias_ingreso = {"1"})
	public static final String ROL_MEDICO_URGENCIA = "11";
	
	@RelacionVia_ingresoRoles(codigo_rol = "05", vias_ingreso = {"2","23", "24"})
	public static final String ROL_MEDICO_CONSULTA_EXTERNA = "05";
		
	@RelacionVia_ingresoRoles(codigo_rol = "13", vias_ingreso = {"6", "7", "8", "9", "10",
			"11", "12", "13", "14"})
	public static final String ROL_MEDICO_PYP = "13";
	
	@RelacionVia_ingresoRoles(codigo_rol = "12", vias_ingreso = {"17", "18","36"})
	public static final String ROL_MEDICO_ODONTOLOGIA = "12";
	
	@RelacionVia_ingresoRoles(codigo_rol = "14", vias_ingreso = {"15", "16","22"})
	public static final String ROL_MEDICO_SALUD_MENTAL = "14";
	
}
